package com.web.service;

import com.web.entity.PageVO;
import com.web.entity.Student;

import java.util.List;

public interface StudentService {

    List<Student> findAllStudents();

    PageVO findStudentPage(int current,int pageSize);

    Student findStudentById(int id);

    void addStudent(Student student);

    void updateStudentById(Student student);

    void removeStudentById(int id);
}
